import request from '@/utils/request'
// 查询所有审核通过的友链列表
export function sign() {
  return request({
    url: '/blogs/sign',
    method: 'post',
    headers: {
      isToken: true
    }
  })
}


export function getSignCount() {
  return request({
    url: '/blogs/sign/count',
    method: 'get',
    headers: {
      isToken: true
    }
  })
}

export function getQQMessage() {
  return request({
    url: '/blogs/QQMessage',
    method: 'get',
    headers: {
      isToken: true
    }
  })
}


export function getWbHotMessage() {
  return request({
    url: '/blogs/wbHotMessage',
    method: 'get',
    headers: {
      isToken: true
    }
  })
}

export function werkLogin(formData) {
  return request({
    url: '/blogs/werkLogin',
    method: 'post',
    data: formData,
    headers: {			//设置上传请求头
      'Content-Type': 'multipart/form-data'
    },
  })

}
